From: Cosimo Cecchi Date: Sat, 16 Feb 2013 17:50:25 +0000 (-0500) Subject: viewSelector: don't use resetShowAppsButton when pressing escape X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4827 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1390cd40483e980aa2aee2796594cb553d38d0cc;p=gnome-shell.git viewSelector: don't use resetShowAppsButton when pressing escape Set the checked property explicitly. This is because resetShowAppsButton() will only be used to flip the button state blocking the page change in a future commit. https://bugzilla.gnome.org/show_bug.cgi?id=693974 --- diff --git a/js/ui/viewSelector.js b/js/ui/viewSelector.js index 7a3182a2c..85ff6156d 100644 --- a/js/ui/viewSelector.js +++ b/js/ui/viewSelector.js @@ -268,7 +268,7 @@ const ViewSelector = new Lang.Class({ if (this._searchActive) this.reset(); else if (this._showAppsButton.checked) - this._resetShowAppsButton(); + this._showAppsButton.checked = false; else Main.overview.hide(); return true;